class Computer {

	char processor[];
	int hard_drive;
	char monitor[];

	void changeProcessor(char newValue){
		for (int item : processor){
			processor[item] = newValue[item];
		}
	}
	void changeHardDrive(int newValue){
		hard_drive = newValue;
	}
	void changeMonitor(char newValue){
		for (int item : monitor){
			monitor[item] = newValue[item];
		}
	}
	void printStates(){
		System.out.println("Processor: " +processor+ "Monitor: " +monitor+ "Hard Drive: " +hard_drive);
	}
}
class ComputerDemo{
	public static void main(String[] args){
		Computer comp1 = new Computer();
		Computer comp2 = new Computer();

		System.out.println ("Blank states:");
		System.out.println ("comp1-->" +comp1.printStates);
		System.out.println ("comp2-->" +comp2.printStates);
		comp1.changeMonitor("DELL");
		comp1.changeHardDrive(80);
		comp1.changeProcessor("AMD");
		comp2.changeMonitor("SAMSUNG");
		comp2.changeHardDrive(120);
		comp2.changeProcessor("INTEL");
		System.out.println ("comp1-->" +comp1.printStates);
		System.out.println ("comp2-->" +comp2.printStates);
	}
}
		

